﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Collections.Specialized;
using System.Reflection;
using RoadTeam.Model;
using System.Web.UI.HtmlControls;
using RoadTeam.Pub;

public partial class 增删改测试_InsertObject : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            Session["count"] = 1;
        }
        UniqueIdentifier.Text = System.Guid.NewGuid().ToString("N");
        Name.Text = "测试数据000" + Session["count"].ToString();
        Code.Text = "100860000" + Session["count"].ToString();
        CreateDate.Text = DateTime.Now.ToString();
        Remark.Text = "这是测试数据这是测试数据这是测试数据这是测试     数据这是测试数据";
        Session["count"] = Convert.ToInt32(Session["count"]) + 1;
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        TbEvlutionText model = new TbEvlutionText();
        GetObject.GetObjectFromPage(model, this);
        Response.Write(TbEvlutionText.InserObjedct(model,null));
    }
}